<?php
/*
	[BuyPg] (C) 2010-2011 Buypg
	$Id: TousuViewModel.class.php 2011-5-13 13:56:00 wufujun $
*/
if (!defined('THINK_PATH')) {
	exit('Access Denied');
}

//视图模型
import('ViewModel');

class TousuViewModel extends ViewModel{
	protected $viewFields = array(
		'NbTousu' => array('tousu_id','tousu_title','tousu_dt','tousu_content','flag','class_id'),
		'NbSite' => array('site_name','site_link','country_id','_on'=>'NbTousu.site_id=NbSite.site_id'),
		'NbClass' => array('class_id'=>'nb_class_id','class_name'=>'nb_class_name','_on'=>'NbSite.class_id=NbClass.class_id')
	);
	
}
?>